package test.yzx.pproject.act2;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.ViewGroup;

import test.yzx.pproject.R;


public class CartViewActivity extends AppCompatActivity {


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.card_view);

    }

    public void gogo(View view){
        ViewGroup container = (ViewGroup) findViewById(R.id.itemBottomContainer);
        View bottomView = View.inflate(this, R.layout.layout_item_bottom_desc, null);
        container.addView(bottomView);
    }

}
